package com.springapp.mvc.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/editPage")
public class PageController {

    @RequestMapping(value = "/editPage.do", method = RequestMethod.GET, produces = {"application/json;charset=UTF-8"})
    public String getApply(String id, ModelMap model) {

        model.put("productId", id);
        return "builder";
    }
}
